#!/bin/bash

source ../common/common.sh

echo "===INIT==UBUNTU=FONTSTYPLE==="
sudo echo "SUDO ROOT"

show t "安装OpenJDK Java环境字体美化"
install_apt_pack "ppa:no1wantdthisname/ppa|update|force|fontconfig-infinality"
install_apt_pack "ppa:no1wantdthisname/openjdk-fontfix|update|upgrade"
show i "http://mics.logdown.com/posts/2013/12/28/ubuntu-fonts-optimization"
show i "设定字体效果:debug, infinality, linux, osx, osx2, win7, win98 and winxp"
show i "  sudo bash /etc/fonts/infinality/infctl.sh setstyle"
show i "另一设定方式:export USE_STYLE=\"DEFAULT\""
show i "  sudo -H gedit /etc/profile.d/infinality-settings.sh"
